.wrap_buy{
  padding-bottom: 78px;
  background-color: #F2F3F5;

  .mod_box{
    padding-bottom: 10px;
  }
}
.mod_box_title{
  position: relative;
  padding: 15px;
  background-color: #ffff;
  border-bottom: 5px solid #F2F3F5;

  .title{
    font-size: 18px;
    font-weight: bold;
    line-height: 27px;
  }

  .desc{
    position: relative;
    margin-top: 12px;
    padding: 8px 10px;
    font-size: 13px;
    color: #5093EB;
    line-height: 20px;
    background-color: #F2F7FC;
    border-radius: 7px;

    &:after{
      content: '';
      position: absolute;
      left: 12px;
      top: -8px;
      width: 0;
      height: 0;
      border: 10px solid transparent;
      border-width: 8px 10px;
      border-left-color: #F2F7FC;
    }
  }
}

// 文字 tab
.mod_text_tabs{
  font-size: 0;
  .tab_item{
    position: relative;
    display: inline-block;
    min-width: calc(33.3% - 5px);
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 35px;
    border: 1rpx solid #DCDEE0;
    border-radius: 7px;
    text-align: center;
    overflow: hidden;
    padding: 0 10px;

    .iconfont{
      position: absolute;
      color: #fff;
      right: 2px;
      bottom: 2px;
      font-size: 10px;
      visibility: hidden;
    }
  }
  .current{
    color: #5093EB;
    border-color:#5093EB;

    &:before{
      content: '';
      position: absolute;
      right: -18px;
      bottom: -18px;
      background: currentColor;
      width: 36px;
      height: 36px;
      border-radius: 100%;
    }

    .iconfont{
      visibility: visible;
    }
  }
}


// form 表单
.mod_form{
  position: relative;

  .form_block{

  }
  .form_title{
    position: relative;
    margin: 20px 0 10px;
    .title{
      display: block;
      font-size: 16px;
      line-height: 18px;
    }
    .action{
      position: absolute;
      right: 0;
      top: 0;
    }
    .btn_del{
      .iconfont{
        font-size: 23px;
        color: #C4C8CC;
      }
    }
  }
  .form_line{
    position: relative;
    line-height: 24px;
    padding: 8px 0 6px;
    border-bottom: 1rpx solid #DEDFE0;

    display: flex;

    &:last-child{
      border-bottom: none;
    }

    .label{
      display: inline-block;
      min-width: 95px;
      font-size: 16px;
      color: #6E747A;
      line-height: inherit;
      vertical-align: middle;
    }

    .inp_text{
      display: inline-block;
      vertical-align: middle;
      font-size: 16px;
      flex: 1 0 auto;
    }

    .phcolor{
      color: #999ea3;
    }

    .form_content{
      position: relative;
      display: inline-block;
      vertical-align: middle;
      font-size: 16px;
      flex: 1 0 auto;

      .iconfont{
        position: absolute;
        right: 0;
        top: 2px;
        color: #C4C8CC;
      }

      .price{
        position: absolute;
        right: 15px;
        top: 0;
      }
    }
  }

  .form_block_yk{
    .form_line{
      &:last-child{
        border-bottom: 1px solid #DEDFE0;
      }
    }
  }

  .form_btns{
    margin-top: 10px;
  }

  .hl{
    color: #FFA433;
  }

  .btn_add_line{
    display: inline-block;
    background: #F4F5F6;
    border-radius: 15px;
    line-height: 30px;
    font-size: 13px;
    padding: 0 15px;
  }
}

.mod_form_people{
  .form_btns{
    padding-bottom: 18px;
  }
}

//  预购时间
.mod_date_book{
  font-size: 16px;

  .book_line{
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #DEDFE0;

    .desc{
      font-size: 13px;
      color: #6E747A;
    }

    .action{
      position: absolute;
      right: 0;
      top: 0;
      color: #6E747A;
      font-size: 14px;
    }

    &:last-child{
      margin-bottom: 0;
      padding-bottom: 0;
      border: none;
    }

    .input_number{
      position: absolute;
      right: 0;
      top: 0;
      color: #6E747A;
      font-size: 14px;

      .number{
          display: inline-block;
          width: 60px;
          text-align: center;
          vertical-align: middle;
      }
      .btn_number{
        display: inline-block;
        vertical-align: middle;
        width: 23px;
        height: 23px;
        background-color: #F2F3F5;
        border-radius: 3px;
        text-align: center;
        line-height: 23px;
        font-size: 18px;
      }
    }
  }
}

// 支付
.mod_fixed_btn{
  position: fixed;
  z-index: 100;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  padding: 10px 15px;
  background-color: #fff;
  box-shadow: 0 -2px 3px 1px rgba(0, 0, 0, .05);

  .phone_x &{
    height: 70px;
    padding-bottom: 10px;
  }

  .price{
    color: #FFA530;
    font-size: 21px;
    line-height: 22px;
  }

  .price_desc{
    font-size: 13px;
  }

  .btn_buy{
    position: absolute;
    top: 7px;
    right: 15px;
    width: 140px;
    line-height: 45px;
    border-radius: 26px;
    font-size: 16px;
    color: #fff;
    background-color: #FFA433;
    text-align: center;

    &.disabled{
      opacity: 0.6;
      pointer-events: none;
    }
  }
  .ticket_total{
    font-size: 16px;
    margin: 11px 5px 0 0;
  }
}



// 日历
.mod_mask_layer{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(#000, 0.5);
  z-index: 999;
}
.mod_calendar{
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  border-radius: 7px 7px 0 0;
  z-index: 9999;
  box-shadow:0px 0px 14px 0px rgba(0,0,0,0.12);

  .phone_x &{
    padding-bottom: 30px;
  }

  .mod_calendar_header{
    position: relative;
    text-align: center;
    padding: 20px;
    .calendar_month{
      display: inline;
      vertical-align: middle;
      color: #252729;
      font-size: 16px;
      line-height: 24px;
    }

    .cal_month_prev,
    .cal_month_next{
      display: inline-block;
      vertical-align: -3px;
      margin: 0 24px;
      width: 30px;
      text-align: center;

      .iconfont{
        color: #C4C8CC;
        font-size: 15px;
      }
    }
    .disabled{
      visibility: hidden;
    }
  }

  .mod_calendar_body{
    position: relative;

    .cal_labels{
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      white-space: nowrap;
      margin-bottom: 25px;

      .cal_label{
        flex: 1 0 auto;
        font-size: 14px;
        color: #6E747A;
        line-height: 14px;
        text-align: center;
      }
    }
    .cal_days{
      position: relative;

      .cal_day{
        display: inline-block;
        height: 60px;
        width: 14.27%;
        flex: 1 0 14.28%;
        font-size: 14px;
        color: #252729;
        line-height: 14px;
        text-align: center;
        vertical-align: top;
      }

      .cal_disabled{
        color: #999EA3;
      }

      .cal_info{
        margin-top: 6px;
        color: #FFA433;
        font-size: 11px;
        line-height: 1;
        visibility: hidden;
      }
      .show{
        visibility: visible;
      }
    }
  }
}

// 门票时间选择
.mod_tickets_picker{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background-color: rgba(#000, 0.5);

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  .picker_inner{
    position: relative;
    width: 300px;
    background-color: #fff;
    border-radius: 7px;
    padding: 15px 15px 6px;
    box-shadow:0px 0px 14px 0px rgba(0,0,0,0.12);
  }

  .picker_close{
    position: absolute;
    right: 15px;
    top: 15px;
    .iconfont{
      display: inline-block;
      vertical-align: top;
      font-size: 19px;
      color: #6E747A;
    }
  }

  .picker_title{
    font-size: 17px;
    text-align: center;
  }

  .picker_label{
    position: relative;
    display: block;
    font-size: 16px;
    line-height: 18px;
    padding-left: 10px;
    text-align: left;
    margin: 15px 0;

    &:before{
      content: '';
      position: absolute;
      left: 0;
      top: 6px;
      width: 5px;
      height: 5px;
      background-color: #5093EB;
      border-radius: 100%;
    }
  }

  .picker_item{
    position: relative;
    overflow: hidden;
    display: inline-block;
    height: 50px;
    width: calc(50% - 4px);
    border: 1rpx solid #DCDEE0;
    border-radius: 7px;
    margin-bottom: 6px;
    vertical-align: top;
    transform: translateZ(0);

    // &:before{
    //   position: absolute;
    //   left: -50%;
    //   top: -50%;
    //   content: '';
    //   width: 200%;
    //   height: 200%;
    //   border: 1px solid #DCDEE0;
    //   border-radius: 7px;
    //   transform: scale(0.5);
    // }

    .text{
      margin-top: 6px;
      text-align: center;
      font-size: 14px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .desc{
      margin-top: 5px;
      text-align: center;
      font-size: 11px;
      color: #FFA433;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .iconfont{
      visibility: hidden;
    }
  }
  .picker_item:nth-child(2n){
    margin-right: 6px;
  }

  .disabled{
    color: #DCDEE0;
    pointer-events: none;
    .text,
    .desc{
      color: #DCDEE0;
    }
  }

  .current{
    border-color: #5093EB;
    color: #5093EB;
    .text,
    .desc{
      color: #5093EB;
    }

    &:before{
      content: '';
      position: absolute;
      right: -18px;
      bottom: -18px;
      background: currentColor;
      width: 36px;
      height: 36px;
      border-radius: 100%;
    }

    .iconfont{
      position: absolute;
      color: #fff;
      right: 2px;
      bottom: 2px;
      font-size: 10px;
      visibility: visible;
    }
  }

  .picker_btns{
    display: block;
    margin-top: -6px;

    .btn_ok{
      margin: 15px 15px;
      line-height: 44px;
      font-size: 16px;
      background-color: #5093EB;
      color: #fff;
      text-align: center;
      border-radius: 22px;
    }
  }
}

.mod_form_coupon{
  .form_line{
    border: none;
  }
}

.pop_modal{
  .pop_modal_inner{
    .modal_title{
      margin-bottom: 30px;
    }
  }
}
